package com.jsmtr.rms.service;

import com.jsmtr.rms.entity.ProjectInfoJobtemplate;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author: cyx
 * @description:
 * @date: Created in 2018/9/3 17:25
 * @modified by:
 */
public interface IProjectInfoJobTemplateService {
    /*
     * 根据ID查询模板信息
     * @author cyx
     * @date 2018/9/3 17:26
     * @param tempid
     * @return com.jsmtr.rms.controller.ProjectJobTemplate
     */
    ProjectInfoJobtemplate getPorjectJobTemplate(String tempid) throws Exception;

    /*
     * 根据招模板信息,模糊查询模板列表
     * @author cyx
     * @date 2018/9/3 17:32
     * @param state 状态
 * @param jobName 岗位名称
 * @param tempName 模板名称
 * @param type 模板类型
     * @return java.util.List<com.jsmtr.rms.entity.ProjectInfoJobtemplate>
     */
    List<ProjectInfoJobtemplate> findProjectInfoJobTemplateByLike(String state, String jobName, String tempName, String type) throws Exception;


    /*
     * 查询所有岗位模板
     * @author cyx
     * @date 2018/9/3 17:33
     * @param
     * @return java.util.List<com.jsmtr.rms.entity.ProjectInfoJobtemplate>
     */
    List<ProjectInfoJobtemplate> findAllProjectJobTemplate() throws  Exception;

    void addProjectJobTemplate(ProjectInfoJobtemplate jobtemplate) throws Exception;

    void editProjectJobTemplate(ProjectInfoJobtemplate jobtemplate) throws Exception;

    void deleteProjectJobTemplate(ProjectInfoJobtemplate jobtemplate) throws Exception;

    Map<String, Object> findProjectInfoJobTemplateByPage(int page, int perpage, ProjectInfoJobtemplate jobtemplate) throws  Exception;

    List<ArrayList> findPlans_0598(String[] id) throws Exception;

    List<ArrayList> findColumnsPlans(String name) throws Exception;

    List<ArrayList> findPlansALL_0598() throws Exception;

    List<ArrayList> findPlans_0599(String[] id) throws Exception;
}
